:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #7f7fd5, #86a8e7, #91eae4);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
/* 下拉框基础样式 */
.form-control {
    width: 100%;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    background-color: #f8f9fa;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.3s ease;
}

.form-group.select-group {
    margin-bottom: 1.8rem;
    position: relative;
}

/* 新版下拉框基础样式 */
.form-control {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
}



/* 悬停效果 */
.form-control:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

/* 聚焦状态增强 */
.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25),
    0 6px 16px rgba(52, 152, 219, 0.15);
    background: white;
}

/* 图标样式优化 */
.form-group.select-group .input-icon {
    left: 18px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    opacity: 0.9;
    transition: color 0.3s ease;
}

/* 下拉选项美化 */
select option {
    padding: 12px 20px;
    background: white;
    color: var(--primary-color);
    transition: background 0.2s ease;
}

select option:hover {
    background: #f8f9fa !important;
}

select option:checked {
    background: var(--secondary-color);
    color: white;
}


.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.6;
}

input {
    width: 100%;
    padding: 12px 20px 12px 40px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
    outline: none;
}

.btn-login {
    background: var(--secondary-color);
    color: white;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/*.extra-links {*/
/*    margin-top: 1.5rem;*/
/*    text-align: center;*/
/*}*/

/*.extra-links a {*/
/*    color: var(--primary-color);*/
/*    text-decoration: none;*/
/*    font-size: 0.9rem;*/
/*    transition: color 0.3s ease;*/
/*}*/

/*.extra-links a:hover {*/
/*    color: var(--accent-color);*/
/*}*/

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}